package com.frank.oj.service.oj;

import com.frank.model.entity.problem.Language;
import com.frank.model.entity.problem.Tag;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.vo.CaptchaVO;
import com.frank.oj.model.vo.ProblemTagVO;

import java.util.Collection;
import java.util.List;

/**
 * @author frank
 * @Date 2024/3/22
 */
public interface CommonService {
    CommonResult<List<ProblemTagVO>> getProblemTagsAndClassification(String oj);

    List<Tag> getAllProblemTags(String oj);

    List<Language> getLanguages(Long pid, Boolean all);

    Collection<Tag> getProblemTags(Long pid);

    CommonResult<CaptchaVO> getCaptcha();
}
